﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dialog_selectColor.aspx.cs" Inherits="Donal.Xms.Web.qianyi.dialog.dialog_selectColor" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="/scripts/jquery/jquery-1.11.2.min.js"></script>
    <link href="/scripts/farbtastic/farbtastic.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="../skin/icon/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../skin/default/style.css" />
    <script src="/scripts/farbtastic/farbtastic.js"></script>

    <title></title>

    <script type="text/javascript">
        var api = top.dialog.get(window); //获取窗体对象
        var W = api.data;
        //页面加载完成执行
        $(function () {
            //设置按钮及事件
            api.button([{
                value: '确定',
                callback: function () {
                    submitForm();
                },
                autofocus: true
            }, {
                value: '取消',
                callback: function () { }
            }]);

            $('#picker').farbtastic('#color');            
        });


    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="div-content" style="width: 100%; text-align: center;">
            <input type="text" id="color" name="color" value="#ffffff" class="input txt" readonly="readonly" />
            <div id="picker" style="width: 200px; margin: 0 auto;"></div>
        </div>
    </form>
</body>
</html>
